Optimal. Leaf size=70 \[ d x \left (a+b x^2\right )^p \left (\frac {b x^2}{a}+1\right )^{-p} \, _2F_1\left (\frac {1}{2},-p;\frac {3}{2};-\frac {b x^2}{a}\right )+\frac {e \left (a+b x^2\right )^{p+1}}{2 b (p+1)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.02, antiderivative size = 70, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.200, Rules used = {641, 246, 245} \[ d x \left (a+b x^2\right )^p \left (\frac {b x^2}{a}+1\right )^{-p} \, _2F_1\left (\frac {1}{2},-p;\frac {3}{2};-\frac {b x^2}{a}\right )+\frac {e \left (a+b x^2\right )^{p+1}}{2 b (p+1)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 245
Rule 246
Rule 641
Rubi steps
\begin {align*} \int (d+e x) \left (a+b x^2\right )^p \, dx &=\frac {e \left (a+b x^2\right )^{1+p}}{2 b (1+p)}+d \int \left (a+b x^2\right )^p \, dx\\ &=\frac {e \left (a+b x^2\right )^{1+p}}{2 b (1+p)}+\left (d \left (a+b x^2\right )^p \left (1+\frac {b x^2}{a}\right )^{-p}\right ) \int \left (1+\frac {b x^2}{a}\right )^p \, dx\\ &=\frac {e \left (a+b x^2\right )^{1+p}}{2 b (1+p)}+d x \left (a+b x^2\right )^p \left (1+\frac {b x^2}{a}\right )^{-p} \, _2F_1\left (\frac {1}{2},-p;\frac {3}{2};-\frac {b x^2}{a}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.07, size = 98, normalized size = 1.40 \[ \frac {\left (a+b x^2\right )^p \left (\frac {b x^2}{a}+1\right )^{-p} \left (2 b d (p+1) x \, _2F_1\left (\frac {1}{2},-p;\frac {3}{2};-\frac {b x^2}{a}\right )+b e x^2 \left (\frac {b x^2}{a}+1\right )^p+a e \left (\left (\frac {b x^2}{a}+1\right )^p-1\right )\right )}{2 b (p+1)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.60, size = 0, normalized size = 0.00 \[ {\rm integral}\left ({\left (e x + d\right )} {\left (b x^{2} + a\right )}^{p}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int {\left (e x + d\right )} {\left (b x^{2} + a\right )}^{p}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 0.03, size = 0, normalized size = 0.00 \[ \int \left (e x +d \right ) \left (b \,x^{2}+a \right )^{p}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int {\left (e x + d\right )} {\left (b x^{2} + a\right )}^{p}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 3.36, size = 65, normalized size = 0.93 \[ \frac {e\,{\left (b\,x^2+a\right )}^{p+1}}{2\,b\,\left (p+1\right )}+\frac {d\,x\,{\left (b\,x^2+a\right )}^p\,{{}}_2{\mathrm {F}}_1\left (\frac {1}{2},-p;\ \frac {3}{2};\ -\frac {b\,x^2}{a}\right )}{{\left (\frac {b\,x^2}{a}+1\right )}^p} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 6.41, size = 61, normalized size = 0.87 \[ a^{p} d x {{}_{2}F_{1}\left (\begin {matrix} \frac {1}{2}, - p \\ \frac {3}{2} \end {matrix}\middle | {\frac {b x^{2} e^{i \pi }}{a}} \right )} + e \left (\begin {cases} \frac {a^{p} x^{2}}{2} & \text {for}\: b = 0 \\\frac {\begin {cases} \frac {\left (a + b x^{2}\right )^{p + 1}}{p + 1} & \text {for}\: p \neq -1 \\\log {\left (a + b x^{2} \right )} & \text {otherwise} \end {cases}}{2 b} & \text {otherwise} \end {cases}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________